package com.controller;

import com.service.StorageDetailsService;
import com.service.impl.StorageDetailsServiceImpl;
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;
import com.until.Result;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * @ fileName:StorageDetailsController
 * @ description:
 * @ author:dzh
 * @ createTime:2022/5/4 17:47
 * @ version:1.0.0
 */
@RestController
@RequestMapping("StorageDetails")
public class StorageDetailsController extends BaseController{
    @Resource
    private StorageDetailsService service;
    @GetMapping("list")
    public Result listByShId(Integer shId){
        return success(service.listByShId(shId));
    }
}
